package com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities;

import java.io.Serializable;
import java.util.Date;

/**
 * flow_multi_instance_task_trace
 * @author 
 */
public class FlowMultiInstanceTaskTrace implements Serializable {
    private Integer id;

    /**
     * 流程实例id
     */
    private String processInstanceId;

    /**
     * 流程定义id
     */
    private String processDefinitionId;

    /**
     * 节点编码
     */
    private String activityId;

    /**
     * 节点名称
     */
    private String activityName;

    /**
     * 会签子任务的父节点id
     */
    private String rootExecutionId;

    /**
     * 同意的数量
     */
    private Integer numOfPassInstances;

    /**
     * 不同意的数量
     */
    private Integer numOfUnpassInstances;

    /**
     * 总数量
     */
    private Integer numOfInstances;

    /**
     * 当前剩余数量
     */
    private Integer numOfActiveInstances;

    /**
     * 已处理的数量
     */
    private Integer numOfCompletedInstances;

    /**
     * 需要的处理人数量
     */
    private Integer numOfHandler;

    /**
     * 状态
     */
    private String status;

    /**
     * 环节状态
     */
    private String linkStatus;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getProcessDefinitionId() {
        return processDefinitionId;
    }

    public void setProcessDefinitionId(String processDefinitionId) {
        this.processDefinitionId = processDefinitionId;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getRootExecutionId() {
        return rootExecutionId;
    }

    public void setRootExecutionId(String rootExecutionId) {
        this.rootExecutionId = rootExecutionId;
    }

    public Integer getNumOfPassInstances() {
        return numOfPassInstances;
    }

    public void setNumOfPassInstances(Integer numOfPassInstances) {
        this.numOfPassInstances = numOfPassInstances;
    }

    public Integer getNumOfUnpassInstances() {
        return numOfUnpassInstances;
    }

    public void setNumOfUnpassInstances(Integer numOfUnpassInstances) {
        this.numOfUnpassInstances = numOfUnpassInstances;
    }

    public Integer getNumOfInstances() {
        return numOfInstances;
    }

    public void setNumOfInstances(Integer numOfInstances) {
        this.numOfInstances = numOfInstances;
    }

    public Integer getNumOfActiveInstances() {
        return numOfActiveInstances;
    }

    public void setNumOfActiveInstances(Integer numOfActiveInstances) {
        this.numOfActiveInstances = numOfActiveInstances;
    }

    public Integer getNumOfCompletedInstances() {
        return numOfCompletedInstances;
    }

    public void setNumOfCompletedInstances(Integer numOfCompletedInstances) {
        this.numOfCompletedInstances = numOfCompletedInstances;
    }

    public Integer getNumOfHandler() {
        return numOfHandler;
    }

    public void setNumOfHandler(Integer numOfHandler) {
        this.numOfHandler = numOfHandler;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getLinkStatus() {
        return linkStatus;
    }

    public void setLinkStatus(String linkStatus) {
        this.linkStatus = linkStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}